﻿using System.Collections.Generic;
using Standards.Model.Models;

namespace Standards.Services.Services
{    
    public interface IPermissionsService
    {
        IEnumerable<Permission> GetAvailablePermissions();

        IEnumerable<Permission> GetPermissionsForUser(string userId);

        bool HasPermission(string userId, Permission permission);

        bool HasAnyPermission(string userId, IEnumerable<Permission> permissions);

        bool HasAllPermissions(string userId, IEnumerable<Permission> permissions);        
    }
}